package com.cloudkinto.service.shipprice.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author zhangyy
 * @date 2020/6/12 13:52
 * @description:
 */
@Data
@ApiModel
public class ComputePriceReq {

    @ApiModelProperty("长度")
    @NotNull(message = "pls.input.product.length")
    private Double length;

    @ApiModelProperty("宽度")
    @NotNull(message = "pls.input.product.width")
    private Double width;

    @ApiModelProperty("高度")
    @NotNull(message = "pls.input.product.height")
    private Double height;

    @ApiModelProperty("重量")
    @NotNull(message = "pls.input.product.weight")
    private Double weight;

    @ApiModelProperty("区域")
    @NotNull(message = "pls.chose.area")
    private Long regionId;

    @ApiModelProperty("仓库id")
    @NotNull(message = "pls.chose.storage")
    private Long storageId;

    @ApiModelProperty("公司id")
    @NotNull(message = "pls.chose.company")
    private Long companyId;

}
